//
//  PlayInfo.swift
//  AirlineReservation
//
//  Created by Kevin on 2020/2/8.
//  Copyright © 2020 Kevin. All rights reserved.
//

import UIKit

class PlayInfo: NSObject {
    
    @objc var city:String?
    @objc var endcity:String?
    @objc var departterminal:String?
    @objc var arrivalterminal:String?
    @objc var departtime:String?
    @objc var arrivaltime:String?
    @objc var craft:String?
    @objc var status:String?
    @objc var flightnumberid:String?
    @objc var cabinname:String?
    @objc var luggage:String?
    @objc var food:String?
    
    
    init(dict:[String:String]) {
        super.init()
        setValuesForKeys(dict)
    }
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
    }
    
    override var description: String {
        return dictionaryWithValues(forKeys: ["city","endcity","departterminal","arrivalterminal","departtime","arrivaltime","craft","status","flightnumberid"]).description
    }
}
